export enum Perm {
  // 用户权限表
  SysUserAdd = 'sys:user:add',
  SysUserDelete = 'sys:user:delete',
  SysUserEdit = 'sys:user:edit',
  SysUserView = 'sys:user:view',
  SysUserRePassword = 'sys:user:re-password',
  SysUserSetRoles = 'sys:user:set-roles',

  // 角色权限表
  SysRoleAdd = 'sys:role:add',
  SysRoleDelete = 'sys:role:delete',
  SysRoleEdit = 'sys:role:edit',
  SysRoleView = 'sys:role:view',
  SysRoleSetMenus = 'sys:role:set-menus',

  // 菜单权限表
  SysMenuAdd = 'sys:menu:add',
  SysMenuDelete = 'sys:menu:delete',
  SysMenuEdit = 'sys:menu:edit',
  SysMenuView = 'sys:menu:view',

  // 字典权限表
  SysDictAdd = 'sys:dict:add',
  SysDictDelete = 'sys:dict:delete',
  SysDictEdit = 'sys:dict:edit',
  SysDictView = 'sys:dict:view',

  // 子字典权限表
  SysDictSonAdd = 'sys:dict-son:add',
  SysDictSonDelete = 'sys:dict-son:delete',
  SysDictSonEdit = 'sys:dict-son:edit',
  SysDictSonView = 'sys:dict-son:view',

  // 规则说明表
  SysRuleInfoAdd = 'sys:rule-info:add',
  SysRuleInfoDelete = 'sys:rule-info:delete',
  SysRuleInfoEdit = 'sys:rule-info:edit',
  SysRuleInfoView = 'sys:rule-info:view',
}
